#include <stdio.h>
void swap(int * a, int * b)
{
	int temp = *a;
	(*a) = (*b);
	(*b) = temp;
}

int main(int argc, char * argv[])
{
	int x = 8;
	int y = -4;
	printf("before swap x = %d, y = %d\n", x, y);
	swap(&x, &y);
	printf("after swap x = %d, y = %d\n", x, y);
	return 0;
}
